.class Lcom/xingbook/baike/activity/g;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;


# instance fields
.field final synthetic a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

.field private final synthetic b:Landroid/widget/RelativeLayout;


# direct methods
.method constructor <init>(Lcom/xingbook/baike/activity/BaikeCommentActivity;Landroid/widget/RelativeLayout;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/baike/activity/g;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    iput-object p2, p0, Lcom/xingbook/baike/activity/g;->b:Landroid/widget/RelativeLayout;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onGlobalLayout()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/baike/activity/g;->a:Lcom/xingbook/baike/activity/BaikeCommentActivity;

    invoke-static {v0}, Lcom/xingbook/baike/activity/BaikeCommentActivity;->A(Lcom/xingbook/baike/activity/BaikeCommentActivity;)Lcom/xingbook/group/view/TopicPopupView;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/baike/activity/g;->b:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getHeight()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/TopicPopupView;->a(I)V

    return-void
.end method
